public class IfElseBaozi {
    public static void main(String[] args) {
        int baozi = 3;
        boolean baoziGangchulong = true;
        if (baoziGangchulong) {
            baozi +=2;
            System.out.println("包子刚出笼，买了"+baozi+"个肉包子");
        } else {
            System.out.println("买了"+baozi+"个肉包子");
        }
    }
}
